package com.sc.VenusQueryBeta.adapter.account.daikuan;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseViewHolder;
import com.sc.VenusQueryBeta.R;
import com.sc.VenusQueryBeta.adapter.BaseCompatAdapter;
import com.sc.VenusQueryBeta.model.bean.account.daikuan.DaiKuanBean01;

import java.util.List;

/**
 * Created by Administrator on 2018/10/18.
 */

public class DaiKuanAdapter01 extends BaseCompatAdapter<DaiKuanBean01.DaiKuanList,BaseViewHolder> {
    public DaiKuanAdapter01(int layoutResId, @Nullable List<DaiKuanBean01.DaiKuanList> data) {
        super(layoutResId, data);
    }

    public DaiKuanAdapter01(int item_daikuan01) {
        super(item_daikuan01);
    }


    @Override
    protected void convert(BaseViewHolder helper, DaiKuanBean01.DaiKuanList item) {
        helper.setText(R.id.tv_jituan,item.getRoomname());//集團名稱
        helper.setText(R.id.tv_jituan_money,item.getLoannum()+mContext.getResources().getString(R.string.wan));//金額
    }
}
